package com.lanhai.mind.beans;

import com.lanhai.mind.enums.DeviceDataTypeEnum;

/**
 * 对接设备上报上来的数据
 * @author zhengwei
 *
 */
public class DeviceDataBean {
	
	 
	//上报消息类型
	private DeviceDataTypeEnum eventType; 
	
	//装卸情况
	private DeviceMountBean bean;

	//数据的16进制字符串
	private String cmdStr;
	
	private String ip;
	private int port;
	private byte line; 
	

	public DeviceDataTypeEnum getEventType() {
		return eventType;
	}

	public void setEventType(DeviceDataTypeEnum eventType) {
		this.eventType = eventType;
	}

	public DeviceMountBean getBean() {
		return bean;
	}

	public void setBean(DeviceMountBean bean) {
		this.bean = bean;
	}

	public String getCmdStr() {
		return cmdStr;
	}

	public void setCmdStr(String cmdStr) {
		this.cmdStr = cmdStr;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public int getPort() {
		return port;
	}

	public void setPort(int port) {
		this.port = port;
	}

	public byte getLine() {
		return line;
	}

	public void setLine(byte line) {
		this.line = line;
	}
 
	 
	
}
